<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `ecs_ad`;");
E_C("CREATE TABLE `ecs_ad` (
  `ad_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `position_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `media_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `ad_name` varchar(60) NOT NULL DEFAULT '',
  `ad_link` varchar(255) NOT NULL DEFAULT '',
  `ad_code` text NOT NULL,
  `start_time` int(11) NOT NULL DEFAULT '0',
  `end_time` int(11) NOT NULL DEFAULT '0',
  `link_man` varchar(60) NOT NULL DEFAULT '',
  `link_email` varchar(60) NOT NULL DEFAULT '',
  `link_phone` varchar(60) NOT NULL DEFAULT '',
  `click_count` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `enabled` tinyint(3) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`ad_id`),
  KEY `position_id` (`position_id`),
  KEY `enabled` (`enabled`)
) ENGINE=MyISAM AUTO_INCREMENT=196 DEFAULT CHARSET=utf8");
E_D("replace into `ecs_ad` values('1','1','0','广告-今日团购底部广告（210*100）','','1332345758117725431.jpg','1331913600','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('3','68','0','首页-分类ID8-左侧图片','','1407909544747586384.png','1331913600','1625846400','','','','1','1');");
E_D("replace into `ecs_ad` values('5','7','0','首页-分类ID6-左侧图片','','1407909180340028436.png','1331913600','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('24','70','0','首页-分类ID8-右侧图片3','','1407910433429561226.jpg','1332345600','1625846400','','','','1','1');");
E_D("replace into `ecs_ad` values('177','71','0','首页-分类ID11-右侧图片2','','1407910460958659026.jpg','1365696000','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('178','71','0','首页-分类ID11-右侧图片1','','1407909699336026254.jpg','1365696000','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('156','70','0','首页-分类ID8-右侧图片2','','1407909577956442792.jpg','1365609600','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('158','23','0','首页-分类ID6-右侧图片2','','1407909219821318736.jpg','1365609600','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('189','39','0','首页幻灯片-小图-2','','1410942875620437014.jpg','1407859200','1444579200','','','','4','1');");
E_D("replace into `ecs_ad` values('190','72','0','首页首页底部横幅广告','','1407917372050727476.jpg','1406822400','1662912000','','','','0','1');");
E_D("replace into `ecs_ad` values('168','69','0','首页-分类ID11-左侧图片','','1407909644746530614.png','1365696000','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('169','71','0','首页-分类ID11-右侧图片3','','1407910471725865666.jpg','1365696000','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('188','61','0','首页-分类ID3-右侧图片3','','1407908666865943867.jpg','1406822400','1568217600','','','','0','1');");
E_D("replace into `ecs_ad` values('85','70','0','首页-分类ID8-右侧图片1','','1407909567081134712.jpg','1333728000','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('87','23','0','首页-分类ID6-右侧图片1','','1407909230214735156.jpg','1333728000','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('88','24','0','频道页-分类ID4-幻灯片广告1','','1333876982526002057.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('89','24','0','频道页-分类ID4-幻灯片广告2','','1333876999078912791.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('90','24','0','频道页-分类ID4-幻灯片广告3','','1333877013044226128.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('91','24','0','频道页-分类ID4-幻灯片广告4','','1333877029190900131.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('92','24','0','频道页-分类ID4-幻灯片广告5','','1333877043098782471.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('93','25','0','频道页-分类ID4-左侧图片1','','1358321253445321465.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('94','25','0','频道页-分类ID4-左侧图片2','','1333877177441620297.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('102','27','0','频道页-分类ID4-右侧图片1','','1333877558716225023.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('103','27','0','频道页-分类ID4-右侧图片2','','1333877575179091387.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('104','27','0','频道页-分类ID4-右侧图片3','','1333877588847075699.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('105','27','0','频道页-分类ID4-右侧图片4','','1333877601999074172.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('106','28','0','频道页-子类ID208-左侧图片','','1333877795619535766.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('107','29','0','频道页-子类ID212-左侧图片','','1333877822120198860.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('108','30','0','频道页-子类ID224-左侧图片','','1333877847836195954.jpg','1333814400','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('112','23','0','首页-分类ID6-右侧图片3','','1407909147287974647.jpg','1334073600','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('180','61','0','首页-分类ID3-右侧图片2','','1407908729717943344.jpg','1365696000','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('179','61','0','首页-分类ID3-右侧图片1','','1407908702657864807.jpg','1365696000','1625846400','','','','1','1');");
E_D("replace into `ecs_ad` values('155','1','0','今日团购广告位','','1365489610449298885.jpg','1365436800','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('154','54','0','火爆活动广告位','','1365470431010197977.jpg','1365436800','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('123','39','0','首页幻灯片-小图-1','','1410942860443959054.jpg','1340812800','1625846400','','','','7','1');");
E_D("replace into `ecs_ad` values('124','39','0','首页幻灯片-小图-9','','1410943595411402536.jpg','1340812800','1625846400','','','','6','1');");
E_D("replace into `ecs_ad` values('132','39','0','首页幻灯片-小图-3','','1410942885915583923.jpg','1340812800','1625846400','','','','2','1');");
E_D("replace into `ecs_ad` values('133','39','0','首页幻灯片-小图-4','','1410942895747703765.jpg','1340812800','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('134','39','0','首页幻灯片-小图-5','','1410942905533455170.jpg','1340812800','1625846400','','','','1','1');");
E_D("replace into `ecs_ad` values('135','39','0','首页幻灯片-小图-6','','1410942913397242002.jpg','1340812800','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('136','39','0','首页幻灯片-小图-7','','1410943356025031985.jpg','1340812800','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('137','39','0','首页幻灯片-小图-8','','1410943512201636779.jpg','1340812800','1625846400','','','','1','1');");
E_D("replace into `ecs_ad` values('138','44','0','商店公告上广告','','1357366845008654915.jpg','1357315200','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('139','45','0','邮件订阅上方文章列表广告','','1357537499831420986.jpg','1357488000','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('140','46','0','频道页-子类ID2-左侧图片1','','1357799891031107879.gif','1357747200','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('141','46','0','频道页-子类ID2-左侧图片','','1357799904607810892.jpg','1357747200','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('142','47','0','商品详情页左侧广告1','','1358317866341132551.jpg','1358265600','1625846400','','','','4','1');");
E_D("replace into `ecs_ad` values('143','48','0','商品详情页左侧广告2','','1358317880356701236.jpg','1358265600','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('144','49','0','频道页-分类ID2-左侧图片1','','1410945090838331475.jpg','1358265600','1625846400','','','','2','1');");
E_D("replace into `ecs_ad` values('145','49','0','频道页-分类ID2-左侧图片2','','1410944825155377497.jpg','1358265600','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('146','49','0','频道页-分类ID2-左侧图片3','','1410944844486313671.jpg','1358265600','1625846400','','','','1','1');");
E_D("replace into `ecs_ad` values('147','49','0','频道页-分类ID2-左侧图片4','','1410944804435453850.jpg','1358265600','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('148','49','0','频道页-分类ID2-左侧图片5','','1410944742739474836.jpg','1358265600','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('149','50','0','导航菜单-2-右侧-促销专题','','1358564840884033816.jpg','1358524800','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('150','50','0','导航菜单-2-右侧-促销专题2','','1358564873515534597.jpg','1358524800','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('151','51','0','频道页-分类ID2-右侧图片2','','1358754148602999033.jpg','1358697600','1625846400','','','','1','1');");
E_D("replace into `ecs_ad` values('152','51','0','频道页-分类ID2-右侧图片1','','1358754163708957816.jpg','1358697600','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('153','51','0','频道页-分类ID2-右侧图片3','','1377051682168771906.gif','1358697600','1625846400','','','','1','1');");
E_D("replace into `ecs_ad` values('183','64','0','首页-分类ID3-左侧图片','','1407908499832058268.png','1365696000','1625846400','','','','0','1');");
E_D("replace into `ecs_ad` values('184','65','0','导航菜单-4-右侧-促销专题-1','','1377565061436095851.jpg','1377532800','1474041600','','','','0','1');");
E_D("replace into `ecs_ad` values('185','65','0','导航菜单-4-右侧-促销专题-2','','1377565076769145820.jpg','1377532800','1474560000','','','','0','1');");
E_D("replace into `ecs_ad` values('186','66','0','首页-店铺-左侧广告','http://www.68ecshop.com','1407828021516204166.jpg','1407772800','1662825600','','','','0','1');");
E_D("replace into `ecs_ad` values('187','67','0','首页-店铺-右侧广告','http://www.68ecshop.com','1407828338822084113.jpg','1407772800','1757520000','','','','2','1');");
E_D("replace into `ecs_ad` values('191','77','0','积分商城banner广告1','','1411113771053038773.jpg','1411056000','1539878400','','','','0','1');");
E_D("replace into `ecs_ad` values('192','76','0','积分商城banner广告2','','1411113785090705780.jpg','1411056000','1571414400','','','','0','1');");
E_D("replace into `ecs_ad` values('193','75','0','积分商城banner广告3','','1411113800682945887.jpg','1411056000','1571414400','','','','0','1');");
E_D("replace into `ecs_ad` values('194','74','0','积分商城banner广告4','','1411113818803244581.jpg','1411056000','1571414400','','','','0','1');");
E_D("replace into `ecs_ad` values('195','73','0','积分商城通栏广告','','1411113838081534636.jpg','1411056000','1603036800','','','','0','1');");

require("../../inc/footer.php");
?>